package com.lujieni.springbootmybatis.permission.rule;

@FunctionalInterface
public interface CommonPermissionRuleCustomizer {

    /**
     * 自定义数据库表查询字段
     * 调用 {@link CommonPermissionRule#addDataColumn(Class, String)} 方法，配置基于数据编号的过滤规则*
     * @param rule 权限规则
     */
    void customize(CommonPermissionRule rule);

}